package com.cloud.enums;

/**
 * @program: zry
 * @description: ${description}
 * @author: LiuChao
 * @create: 2018-04-18 11:13
 **/
public enum ResultEnum {

    success(1, "成功"),
    fail(2, "失败");

    int code;

    String message;

    ResultEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
